package com.store.practice.mapper;

import com.store.practice.model.BgDepartmentPositionRelation;
import com.store.practice.model.BgDepartmentPositionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BgDepartmentPositionRelationMapper {
    long countByExample(BgDepartmentPositionRelationExample example);

    int deleteByExample(BgDepartmentPositionRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BgDepartmentPositionRelation record);

    int insertSelective(BgDepartmentPositionRelation record);

    List<BgDepartmentPositionRelation> selectByExample(BgDepartmentPositionRelationExample example);

    BgDepartmentPositionRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BgDepartmentPositionRelation record, @Param("example") BgDepartmentPositionRelationExample example);

    int updateByExample(@Param("record") BgDepartmentPositionRelation record, @Param("example") BgDepartmentPositionRelationExample example);

    int updateByPrimaryKeySelective(BgDepartmentPositionRelation record);

    int updateByPrimaryKey(BgDepartmentPositionRelation record);
}